#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int a = 0, b = 0;
	scanf("%d", &a);
	(a == 5) ? (b = 3) : (b = -3);
	printf("%d\n", b);
	return 0;
}